package com.alks.function.data.dto.finance.mtlcosts;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author MS
 * @since 2024/6/25下午5:12
 */
@Data
public class OutListDetailDto {

    @ApiModelProperty(value = "主键")
    private Integer id;

    @ApiModelProperty(value = "补料单号")
    private String slipNo;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @ApiModelProperty(value = "外发日期")
    private LocalDateTime purDate;

    @ApiModelProperty(value = "结算方式")
    private String accountName;

    @ApiModelProperty(value = "对账月份")
    private String financeYymm;

    @ApiModelProperty(value = "负责厂商")
    private String vendor;

    @ApiModelProperty(value = "指令ID")
    private String lotNo;

    @ApiModelProperty(value = "型体")
    private String style;

    @ApiModelProperty(value = "底模号")
    private String moldNo;

    @ApiModelProperty(value = "工艺")
    private String process;

    @ApiModelProperty(value = "部位名称")
    private String partName;

    @ApiModelProperty(value = "片数")
    private BigDecimal cutNum;

    @ApiModelProperty(value = "订单量")
    private BigDecimal ordQty;

    @ApiModelProperty(value = "外发数量")
    private BigDecimal purQty;

    @ApiModelProperty(value = "入库量")
    private BigDecimal recQty;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @ApiModelProperty(value = "交期")
    private LocalDateTime deliveryDate;

    @ApiModelProperty(value = "备注")
    private String purMemo;

    @ApiModelProperty(value = "单价")
    private BigDecimal price;

    @ApiModelProperty(value = "金额")
    private BigDecimal amt;

    @ApiModelProperty(value = "结算单号")
    private String balanceNo;

    @ApiModelProperty(value = "传Y变色")
    private String cfmFlag;

    @ApiModelProperty(value = "流水号")
    private String reqNo;

    @ApiModelProperty(value = "单位")
    private String unit;

}
